package it.elis.media.library.security;

import org.springframework.security.core.GrantedAuthority;

public class RoleAuthority implements GrantedAuthority {

	/**
	 * Rendiamo serializzabile 
	 */
	private static final long serialVersionUID = -5825058371212730557L;

	private String authority;
	
	public RoleAuthority(String authority) {
		super();
		this.authority = authority;
	}

	@Override
	public String getAuthority() {
		return this.authority;
	}
	
}
